package org.jsola.hr.service;

import org.jsola.core.service.IService;
import org.jsola.hr.dao.IAttendGoOutRecordDAO;
import org.jsola.hr.dto.AttendGoOutDTO;
import org.jsola.hr.entity.AttendGoOutRecordDO;
import org.jsola.hr.vo.AttendGoOutVO;
import org.jsola.user.core.TokenUser;

/**
 * 外出打卡
 * 
 * @author wxz
 *
 */
public interface IAttendGoOutService extends IService<IAttendGoOutRecordDAO, AttendGoOutRecordDO> {
	
	/**
	 * 外出打卡
	 * 
	 * @param attendGoOutDTO 外出打卡参数
	 * @param tokenUser 当前用户
	 * @return AttendGoOutRecordVO
	 */
	AttendGoOutVO punch(AttendGoOutDTO attendGoOutDTO, TokenUser tokenUser);
	
}
